import service from "../axios/index.js";

//查询所有
export function queryAll(data) {
  return service.request({
    method: "POST",
    url: `/exam/goods/queryAll`,
    data,
  });
}
//添加商品
export function addGoods(data) {
  return service.request({
    method: "POST",
    url: `/exam/goods/add`,
    data,
  });
}
//删除商品

export function deleteGoods(data) {
  return service.request({
    method: "POST",
    url: `/exam/goods/delete`,
    data,
  });
}

